package com.huazai.apply.manager.bean;

import java.io.Serializable;
import java.util.Date;

/**
 * @author EZTTU
 */
public class ApplyMessage implements Serializable {
    private static final long serialVersionUID = 8295680093400352442L;
    private String userId;
    private Date submitTime;
    private String result;
    private int wantTime;
    private long applyId;

    public ApplyMessage() {
    }

    public ApplyMessage(long applyId, Date submitTime, String result, int wantTime) {
        this.submitTime = submitTime;
        this.result = result;
        this.wantTime = wantTime;
        this.applyId = applyId;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public Date getSubmitTime() {
        return submitTime;
    }

    public void setSubmitTime(Date submitTime) {
        this.submitTime = submitTime;
    }

    public String getResult() {
        return result;
    }

    public void setResult(String result) {
        this.result = result;
    }

    public int getWantTime() {
        return wantTime;
    }

    public void setWantTime(int wantTime) {
        this.wantTime = wantTime;
    }

    public long getApplyId() {
        return applyId;
    }

    public void setApplyId(long applyId) {
        this.applyId = applyId;
    }

    @Override
    public String toString() {
        return "ApplyMessage{" +
                "userId='" + userId + '\'' +
                ", submitTime=" + submitTime +
                ", result='" + result + '\'' +
                ", wantTime=" + wantTime +
                ", applyId=" + applyId +
                '}';
    }
}
